SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a8781c0f082e0a64ba47df987e1c222a3490334a969c892d37f6ac189fedf6e9' 
  AND token = '1+TVlY/okt8ruJ7qNM6mk1096gD7Qk3gKb/+MgcrWgE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00051

JSON explain

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