SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0fc6f0bc94931a06e3d6d592cbf0851c3e839c472f54945391850d5665ddeabc' 
  AND token = 'aGTHEF2i8tUwvP3Wg8Yy9gBQ0RqSlVWRxFf4NZFILM4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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