SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '6ad4ee51802605beb3780176dbb984f00a8fe9393e013f4641563828944bde40' 
  AND token = 'esdknxxUjsQ8nzp6K4PBY9X2rl1xeGq3Tjzvhlp7vS0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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