SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'db7010e90ace53f16f4107ad45e3780d176c71c4e0c40dccb2a81589d91ab047' 
  AND token = 'Hxn06lKfGZ/K5q7AxNhsYHRUpqfd762zYTPLSlrZRTk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00088

JSON explain

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