SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e564f4489365c1ea51988a811866d1ad2a39a7ea46002385b1df56e0facdd774' 
  AND token = '4ON4cbob2OEaHejmB4WIPrhVrPDpLXWLn0Hk6J07dY4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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