SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'edb9b392ad8789ea149b4ecd5c35b55d9a6ca0db6abc35fa01e479201042a7c8' 
  AND token = '6zpdgSuYKC2tziqXbrdTowyXA7ccW7R3XBlfYfBjDH4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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