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

Query time 0.00049

JSON explain

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