SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '51ae49a3a57bde5909ce2d8e8c412c9eba6aba36f84a7d0202da25094bed08ea' 
  AND token = 'P+whGsH1gwz1VJJQG8LEI1kZ4iH+nYInZ10uGdOvkck=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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