SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '945c00b6548b547574ed2a8a8d56ea9c1680a3d9af7a00d07df93ce5a0b8e511' 
  AND token = 'YGp9h5cLpfsnFINtrnZ/NEqX2pb8P/OofvpDFrFN5OE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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