SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9ec2878f0962197cd8c3d09d96cc6bc9d2b358aca2d7fd08fbd990c4a8e65bb2' 
  AND token = 'FXESFb4p3uPec7gX4wgF/Pz9G4s7pF3GEZtlLl2Fq9M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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