SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '12da9b56211f200e4aca470bc3943e69279f914696717d10a23be96022e249cd' 
  AND token = '+cAukKEL1Pgo/wo3a61id6ZBRwYn/3heX/6iy/VYkx8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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