SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9e86092c9aa1907035ce7cc17ac3e69811a8687acb912cfb94559d9a495276b8' 
  AND token = 'LyITAjqjNCyaFTr4Zau7V/C6hg2qEpSg2TWwKx4JXBc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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