SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7841dfbae93e30cdef015ba8792dd213af3c7ff912602a9931bd24357651138b' 
  AND token = 'Xtyo5Hl8zltS307kUMV6qWpsMPZ8XJ/NFEFjhQUvjTQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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