SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a640f4c637f049a9454d7d72b345c56c2d1a640d7c1efc524b457e0615e3819a' 
  AND token = 'iWRzSEYdGfxyqCG8TOwb8VHyHF8TjysxLuks7Q/Sflc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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