SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42bdc37789d9d1389f48715191caaf127ed3c840be507b0a87db4578799337ef' 
  AND token = 'ND2hNTWUkCrwwNd6v3n7qfntRe1Bmokocz1sRltlz0s=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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