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

Query time 0.00048

JSON explain

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