SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4fb9a424d03671b14979171c9a79a17eb305c335337a9f858cd17c5f3b0dd36e' 
  AND token = 'wT4NniW9JFhK30MjIY6MUUjjG6wfYJSmzZfbjrFpu0Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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