SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f1b248d94bbff166529f543807918041b2de2a44c68d9c6441af4e60631cd583' 
  AND token = 'Xmez3MBa9NZHYFaWWDExKNoTbpHg2VVV4d54frHBms0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

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