SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3c4f3de38e34b0de15ba0a547542ad86f8f77c397af436165c0cdb549b0df7e5' 
  AND token = 'TjgSxIZ4gBeZi4Gm5ZrBIxEWRE0oex0EpPMI2Q64jy0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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