SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ceda7a6a36b40b5d30ddf7cef910a48271a93326b799987c7bfb4fb16e7d9c9a' 
  AND token = 'g6NYvcCY/eQ5mAwmVYdVvqQkPNTEV2KVBR1n+bku8xQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}