SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'aa79bfdd658c3923a2c22962fa2f10b4b3f9c49224f410d787578163caa841a7' 
  AND token = 'Rs2MsD9A/ChJS7MFvtvAbcPbgov5UAskiJTIaRRJw18=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00044

JSON explain

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