SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '11dcc2fe16a087a23fd1c37935884703e3389622315cfdd3e0f04f8066d6b349' 
  AND token = 't7O6w7voar5MkAu+4xdop/P0DJbD+tTouj6nThxhTQY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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