SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'be3161be01ea32538def6b523c1b32f5911add3247df481f81ff07e2e530b76b' 
  AND token = 'CMqSVgpUCg4gyoJ1JuGK7PP2YHsbd67mQ2xiMo/OdyA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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