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

Query time 0.00016

JSON explain

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