SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40cddeac7bd045ea1bc3944853741e866e9e93fb0725ff470e7d072cc7041b49' 
  AND token = 'QiQ9B7bU08MmeXhtzvutVik3NSQVVa2Qbghe+sM3PJs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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